package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.WorkerCertificationAudit;
import com.jzo2o.customer.model.dto.request.CertificationAuditReqDTO;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditAddReqDTO;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditPageQueryReqDTO;

public interface IWorkerCertificationAuditService extends IService<WorkerCertificationAudit> {

    /**
     * 服务人员认证信息分页查询
     * @param workerCertificationAuditPageQueryDTO
     * @return
     */
    PageResult<WorkerCertificationAudit> pageQuery(WorkerCertificationAuditPageQueryReqDTO workerCertificationAuditPageQueryDTO);

    /**
     * 审核服务人员认证信息
     * @param id
     * @param certificationAuditReqDTO
     */
    void auditById(Long id, CertificationAuditReqDTO certificationAuditReqDTO);

    /**
     * 服务端提交认证申请
     * @param workerCertificationAuditAddReqDTO
     */
    void workerCertificationAudit(WorkerCertificationAuditAddReqDTO workerCertificationAuditAddReqDTO);
}
